#define _CRT_SECURE_NO_WARNINGS
#include"string.h"
int main()
{
	string s1 = "hello world";
	size_t pos = s1.rfind(' ');
	cout << pos;
	return 0;
}